/*
 * =====================================================================================
 *
 *       Filename:  weather_station.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  10/03/2010 12:45:55 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Ken Chen (Ziliang), zlchen.ken@gmail.com
 *        Company:  EMC
 *
 * =====================================================================================
 */

#ifndef _WEATHER_STATION_H
#define _WEATHER_STATION_H

#include <string>
#include "ws_component.h"
#include "observer.h"
#include "temp_sensor.h"
#include "bp_sensor.h"
#include "bp_trend.h"

class WeatherStation: public WSComponent
{
public:
	WeatherStation( std::string tkName );
	~WeatherStation();
  void addTempObserver( Observer* o );
	void addBPObserver( Observer* o );
	void addBPTObserver( Observer* o );

private:
  std::string itsName;
  TemperatureSensor* itsTS;
	BarometricPressureSensor* itsBPS;
	BarometricPressureTrend* itsBPT;
};

#endif //_WEATHER_STATION_H
